  <script type="text/javascript" src="/public/library/hvn/jquery.svgallery.js"></script> 
  <script type="text/javascript" src="/public/library/hvn/hvn.js"></script>

<script type="text/javascript">
	$(function() {
	     $("span.left-category-tour-gallery").svgallery({'animationSpeed' : 500});
	});
</script>    
         <?$inList   =  $this->inboundTourList?>
         <?$outList =  $this->outboundTourList?>
		

<!--
    	<div class="left-gr-title">
    		<div class="corner-left-col1"></div>
    	    <div class="content-col1"></?=p("Top Inbound Tours")?></div>
    		<div class="corner-right-col1"></div>
    	 	<div class="content-col2"></?=p("Top Outbound Tours")?></div>
  		</div>
  		--> 
  		<!--left-main-title -->

        <div style="clear:both"></div>
        <!-- tour list content -->
<div class="border-s-content"> <!-- top tours -->
          	<div class="service_list border-left" > <!-- fist column -->
                    <? for ($i = 0; $i < count($inList); $i = $i + 2):?>  
                    <?$tour = $inList[$i] ?>
                                <div class="news_h_t_name" >
                                    <a href="#"><?=$this->inboundArticleList[$tour['id']]['article_title'] ?></a>
                                </div>
                                <div class="img-service">
                                    <span class="left-category-tour-gallery" style="float:left;">
	                		    		<img src="" class="active-image" align="absmiddle" />
                                     	<span style="display:none" class="image-list"> 
		                			    <?=$this->hvnSlideshow(array('userId' => $tour['poster_id'], 
	                			    						'contentType' => "tour",
	                			    						'contentId' => $tour['id'], 'size' => 'xsmall'
		                			    )) ?>
    	                			    </span>
                                    </span>
                                </div>
                                <div class="text">
                                   <?=str_first_words(strip_tags($this->inboundArticleList[$tour['id']]['article_body']),20)?>
                                </div>
                                <div class="clear"></div>
                                <div class="more">
                                   	<a class="viewmore" href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>">>><?=t(150) ?></a>
                                </div>
                     <?endfor?>
                 </div>  <!-- fist column -->
           		 <div class="service_list"> 
                    <? for ($i = 1; $i < count($inList); $i = $i + 2):?> 
                    <div> 
                    <?$tour = $inList[$i] ?>
                                <div class="news_h_t_name">
                                    <a href="#"><?=$this->inboundArticleList[$tour['id']]['article_title'] ?> </a>
                                </div>
                                <div class="img-service">
                                    <span class="left-category-tour-gallery">
	                		    		<img src="" class="active-image" align="absmiddle" />
                                     	<span style="display:none" class="image-list"> 
		                			    <?=$this->hvnSlideshow(array('userId' => $tour['poster_id'], 
	                			    						'contentType' => "tour",
	                			    						'contentId' => $tour['id'], 'size' => 'xsmall'
		                			    )) ?>
    	                			    </span>
                                    </span>
                                </div>
                                <div class="text">
                                   <?=str_first_words(strip_tags($this->inboundArticleList[$tour['id']]['article_body']),20)?>
                                </div>
                                <div class="clear"></div>
                                <div class="more" style="min-height:5px;text-align:right">
                                   	<a class="viewmore" href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>">>><?=t(150) ?></a>
                                </div>
                     <?endfor?>
                     </div>
                </div>
         </div>	  <!-- top tours -->  
</div>
        <div class="clear"></div>
        	



